import axios from 'axios'
//配置基地址
const service = axios.create({
  baseURL: 'http://localhost:8088/',
  timeout: 10000
})


service.interceptors.request.use(
  (config) => {
    return config
  },
  (error) => {
    return Promise.reject(error)
  }
)

service.interceptors.response.use(
  (response) => {
    return response
  },
  (error) => {
    return Promise.reject(error)
  }
)

export default service